/*
 * @features: 功能
 * @description: 说明
 * @Date: 2020-09-03 14:38:40
 * @Author: judu233(769471424@qq.com)
 * @LastEditTime: 2020-09-03 14:40:14
 * @LastEditors: judu233
 */
/**
 * 全局监听的事件类型
 */
export class ListenerType {
    /**关于全局 */
    /**游戏开始事件 */
    public static readonly GameStart = "GameStart";
    /**全局update事件 */
    public static readonly LoopUpdate = "LoopUpdate";
    /**全局暂停事件 */
    public static readonly GameOnPause = "GameOnPause";
    /**全局恢复事件 */
    public static readonly GameOnResume = "GameOnResume";
    /** 第一次进入游戏 */
    public static readonly FirstInGame = "FirstInGame";
    /** 非第一次进入游戏 */
    public static readonly NoFirstInGame = "NoFirstInGame";

    /**关于ui的 */
    // public static readonly UpdateMainUI = "UpdateMainUI";

    /**自定义的事件*/
    public static readonly GoldChanged = "GoldChanged";
    public static readonly GemChanged = "GemChanged";
    public static readonly Test = "Test";
    public static readonly OnMergeDragon = "OnMergeDragon";
    public static readonly OnUnlockSuccess = "OnUnlockSuccess";
    public static readonly OnBuyDragon = "OnBuyDragon";
    public static readonly OnRecycleDragon = "OnRecycleDragon";
    public static readonly OnTryAttack = "OnTryAttack";
    public static readonly OnKillMonster = "OnKillMonster";
    public static readonly OnEscapeMonster = "OnEscapeMonster";
    public static readonly OnShowNewDragon = "OnShowNewDragon";
    public static readonly OnStartAngry = "OnStartAngry";
    public static readonly OnEndAngry = "OnEndAngry";
    public static readonly UpdateAngryTime = "UpdateAngryTime";
    public static readonly OfflineReward = "OfflineReward";
    public static readonly OnTaskRedPoint = "OnTaskRedPoint";
    public static readonly OnInitStage = "OnInitStage";

    /**存储各个中间件变动事件 */
    public static readonly WorldCoinsChanged = "WorldCoinsChanged";
    public static readonly MainlandCoinsChanged = "MainlandCoinsChanged";
    public static readonly SublandCoinsChanged = "SublandCoinsChanged";
}